﻿<UserControl x:Class="Big2.Big2WfpGui.Login"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:My="clr-namespace:Big2.Big2WfpGui"
    Height="450" Width="400" Loaded="UserControl_Loaded">
    <Border x:Name="borderTop" Width="400" Height="450" Background="#FF000000" BorderBrush="#FFFFFFFF" BorderThickness="2,2,2,2" CornerRadius="5,5,5,5">
        <Grid Height="450" Width="400"  OpacityMask="AliceBlue" ClipToBounds="False">
            <Grid.Background>
                <LinearGradientBrush>
                    <GradientStop Color="LightBlue" Offset="0.2"   ></GradientStop>
                    <GradientStop Color="MintCream" Offset="0.5"   ></GradientStop>
                    <GradientStop Color="LightBlue" Offset="0.8"   ></GradientStop>
                </LinearGradientBrush>
            </Grid.Background>
                <StackPanel Height="25.452" Name="stackPanel1" VerticalAlignment="Top" >
                    <StackPanel.Background>
                        <LinearGradientBrush>
                            <GradientStop Color="CornflowerBlue" Offset="0.2"   ></GradientStop>
                            <GradientStop Color="Beige" Offset="0.6"   ></GradientStop>
                            <GradientStop Color="CornflowerBlue" Offset="0.9"   ></GradientStop>
                        </LinearGradientBrush>
                    </StackPanel.Background>
                    <TextBlock Text="Big2 - Connect" Foreground="DarkBlue" HorizontalAlignment="Center" FontSize="14" FontWeight="Bold" ></TextBlock>
                    <Border Height="99.99" Name="border1" Width="199.98" />
                </StackPanel>
            <Grid Margin="0,21.816,0,12.726" Name="grid1">
            <TextBlock Height="21" Text="Type:" Margin="49.086,13.181,0,0" Name="textBlock1" VerticalAlignment="Top" HorizontalAlignment="Left" Width="50.904" />
            <RadioButton Height="16" Margin="137.259,13.181,163.62,0" Name="rbServer" VerticalAlignment="Top" IsChecked="True" Checked="rbServer_Checked">Server</RadioButton>
            <RadioButton Height="16" Margin="0,13.181,57.267,0" Name="rbClient" VerticalAlignment="Top" HorizontalAlignment="Right" Width="99.121" Checked="rbClient_Checked">Client</RadioButton>
            <TextBox Height="23" Margin="137.259,50.904,57.267,0" Name="tbServer" VerticalAlignment="Top" />
            <TextBlock Height="21" HorizontalAlignment="Left" Margin="49.086,50.904,0,0" Name="textBlock2" Text="Server:" VerticalAlignment="Top" Width="50.904" />
            <TextBlock HorizontalAlignment="Left" Margin="49.086,92.718,0,99.99" Name="textBlock3" Text="Name" Width="50.904" />
            <TextBox Margin="137.259,89.991,57.267,100.899"  Name="tbName" MaxLength="10" VerticalAlignment="Top" />  
                
            <My:Options x:Name="controlOptions" Margin="49.086,127.184,50.914,-10.726"></My:Options>
                
            <Button Height="23" Margin="137.259,0,0,48.177" Name="btConnect" VerticalAlignment="Bottom" HorizontalAlignment="Left" Width="75" Click="btConnect_Click">Connect</Button>
            <Button Height="23" HorizontalAlignment="Right" Margin="0,0,57.267,48.177" Name="btCancel" VerticalAlignment="Bottom" Width="75" >Cancel</Button><Border Height="43" Background="#FF2E2E2E" BorderBrush="#FFFFFFFF" BorderThickness="2,0,2,2" CornerRadius="0,0,5,5" Margin="0,0,0,-10.726" VerticalAlignment="Bottom">
            <Label Width="251.793" Height="26.361" Content="Big2 by Danny Liu and Chao Liu" FontFamily="Arial" FontSize="12" FontWeight="Normal" Foreground="White" HorizontalAlignment="Left" VerticalAlignment="Bottom" Background="#00FFFFFF" />            
            </Border>
        </Grid>
        </Grid>
    </Border>
</UserControl>
